<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ECSHOP 管理中心 - 商品列表 </title>
<meta name="robots" c>
<meta http-equiv="Content-Type" c />
<link href="__PUBLIC__/Admin/styles/general.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/Admin/styles/main.css" rel="stylesheet" type="text/css" />
</head>
<body>

<h1>
<span class="action-span"><a href="{:U('Admin/Goods/goodsadd')}">添加新商品</a></span>
<span class="action-span1"><a href="#">ECSHOP 管理中心</a> </span><span id="search_id" class="action-span1"> - 商品列表 </span>
<div style="clear:both"></div>
</h1>

<div class="form-div">

  <form action="" name="searchForm">
    <img src="__PUBLIC__/Admin/images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
      
    <select name="cat_id"  >
      <option value="0" >所有分类</option>
      <foreach name="catedata" item="v" >
        <option value="{$v.cat_id}" style="margin-left:{$v[level]*2}em" >{$v.cat_name}</option>
      </foreach>
    </select>

    <select name="brand_id">
      <option value="0">所有品牌</option>
      <option value="1">诺基亚</option>
      <option value="10">金立</option>
      <option value="9">联想</option>
      <option value="8">LG</option>
      <option value="7">索爱</option>
      <option value="6">三星</option>
      <option value="5">夏新</option>
      <option value="4">飞利浦</option>
      <option value="3">多普达</option>
      <option value="2">摩托罗拉</option>
      <option value="11">  恒基伟业</option>
    </select>

    <select name="intro_type"><option value="0">全部</option><option value="is_best">精品</option><option value="is_new">新品</option><option value="is_hot">热销</option><option value="is_promote">特价</option><option value="all_type">全部推荐</option></select>
         
     
      <select name="suppliers_id">
        <option value="0">全部</option>
        <option value="1">北京供货商</option>
        <option value="2">上海供货商</option>
      </select>

            
      <select name="is_on_sale">
        <option value=''>全部</option>
        <option value="1">上架</option>
        <option value="0">下架</option>
      </select>
      
    关键字 <input type="text" name="keyword" size="15" />
    <input type="submit" value=" 搜索 " class="button" />
  </form>
</div>
<form method="post" action="" name="listForm" >

  <div class="list-div" id="listDiv">
<table cellpadding="3" cellspacing="1">
  <tr>
    <th>
      <input onclick='listTable.selectAll(this, "checkboxes")' type="checkbox" />
      <a href="#">编号</a><img src="__PUBLIC__/Admin/images/sort_desc.gif"/>
    </th>
      <th><a href="#">商品名称</a></th>
      <th><a href="#">货号</a></th>
      <th><a href="#">价格</a></th>
      <th><a href="#">上架</a></th>
      <th><a href="#">已删除</a></th>
      <th><a href="#">精品</a></th>
      <th><a href="#">新品</a></th>
      <th><a href="#">热销</a></th>
      <th><a href="#">推荐排序</a></th>
      <th><a href="#">库存</a></th>
      <th>操作</th>
<!--   <tr>
    <tr>
    <td><input type="checkbox" name="checkboxes[]" value="32" />1</td>

    <td class="first-cell" style=""><span >KD876</span></td>
    <td><span >ECS000000</span></td>
    <td align="right"><span >1388.00
    </span></td>
    <td align="center"><img src="__PUBLIC__/Admin/images/yes.gif"  /></td>
    <td align="center"><img src="__PUBLIC__/Admin/images/yes.gif"  /></td>
    <td align="center"><img src="__PUBLIC__/Admin/images/yes.gif"  /></td>
    <td align="center"><img src="__PUBLIC__/Admin/images/yes.gif"  /></td>

    <td align="center"><span >100</span></td>
        <td align="right"><span >1</span></td>
        <td align="center">
        <a href="#" target="_blank" title="查看"><img src="__PUBLIC__/Admin/images/icon_view.gif" width="16" height="16" border="0" /></a>
        <a href="#" title="编辑"><img src="__PUBLIC__/Admin/images/icon_edit.gif" width="16" height="16" border="0" /></a>
        <a href="#" title="复制"><img src="__PUBLIC__/Admin/images/icon_copy.gif" width="16" height="16" border="0" /></a>
        <a href="#"  title="回收站"><img src="__PUBLIC__/Admin/images/icon_trash.gif" width="16" height="16" border="0" /></a>
        <a href="#" title="货品列表"><img src="__PUBLIC__/Admin/images/icon_docs.gif" width="16" height="16" border="0" /></a>
    </td>
  </tr>
  <tr>
    <td><input type="checkbox" name="checkboxes[]" value="32" />4</td>

    <td class="first-cell" style=""><span >诺基亚N85原装充电器</span></td>
    <td><span >ECS000004</span></td>
    <td align="right"><span >58.00
    </span></td>
    <td align="center"><img src="__PUBLIC__/Admin/images/yes.gif"  /></td>
    <td align="center"><img src="__PUBLIC__/Admin/images/no.gif"  /></td>
    <td align="center"><img src="__PUBLIC__/Admin/images/no.gif"  /></td>
    <td align="center"><img src="__PUBLIC__/Admin/images/no.gif"  /></td>

    <td align="center"><span >100</span></td>
        <td align="right"><span >17</span></td>
        <td align="center">
      <a href="#" target="_blank" title="查看"><img src="__PUBLIC__/Admin/images/icon_view.gif" width="16" height="16" border="0" /></a>
      <a href="#" title="编辑"><img src="__PUBLIC__/Admin/images/icon_edit.gif" width="16" height="16" border="0" /></a>
      <a href="#" title="复制"><img src="__PUBLIC__/Admin/images/icon_copy.gif" width="16" height="16" border="0" /></a>
      <a href="#"  title="回收站"><img src="__PUBLIC__/Admin/images/icon_trash.gif" width="16" height="16" border="0" /></a>
      <a href="#" title="货品列表"><img src="__PUBLIC__/Admin/images/icon_docs.gif" width="16" height="16" border="0" /></a>          </td>
  </tr>
  <tr>
    <td><input type="checkbox" name="checkboxes[]" value="32" />3</td>

    <td class="first-cell" style=""><span >诺基亚原装5800耳机</span></td>
    <td><span >ECS000002</span></td>
    <td align="right"><span >68.00
    </span></td>
    <td align="center"><img src="__PUBLIC__/Admin/images/yes.gif"  /></td>
    <td align="center"><img src="__PUBLIC__/Admin/images/no.gif"  /></td>
    <td align="center"><img src="__PUBLIC__/Admin/images/no.gif"  /></td>
    <td align="center"><img src="__PUBLIC__/Admin/images/no.gif"  /></td>

    <td align="center"><span >100</span></td>
        <td align="right"><span >24</span></td>
        <td align="center">
      <a href="#" target="_blank" title="查看"><img src="__PUBLIC__/Admin/images/icon_view.gif" width="16" height="16" border="0" /></a>
      <a href="#" title="编辑"><img src="__PUBLIC__/Admin/images/icon_edit.gif" width="16" height="16" border="0" /></a>
      <a href="#" title="复制"><img src="__PUBLIC__/Admin/images/icon_copy.gif" width="16" height="16" border="0" /></a>
      <a href="#"  title="回收站"><img src="__PUBLIC__/Admin/images/icon_trash.gif" width="16" height="16" border="0" /></a>
      <a href="#" title="货品列表"><img src="__PUBLIC__/Admin/images/icon_docs.gif" width="16" height="16" border="0" /></a>
    </td>
  </tr> -->
  <foreach name="data" item="data" >
  <tr>
    <td><input type="checkbox" name="checkboxes[]" value="32" />{$data.goods_id}</td>

    <td class="first-cell" style=""><span >{$data.goods_name}</span></td>
    <td><span >{$data.goods_sn}</span></td>
    <td align="right"><span >{$data.shop_price}
    </span></td>
    <if condition="$data['is_on_sale'] eq 1" >
      <td align="center"><img src="__PUBLIC__/Admin/images/yes.gif"  /></td>
    <elseif condition="$data['is_on_sale'] eq 0" />
      <td align="center"><img src="__PUBLIC__/Admin/images/no.gif"  /></td>
    </if>
    <if condition="$data['is_delete'] eq 1" >
      <td align="center"><img src="__PUBLIC__/Admin/images/yes.gif"  /></td>
    <elseif condition="$data['is_delete'] eq 0" />
      <td align="center"><img src="__PUBLIC__/Admin/images/no.gif"  /></td>
    </if>
    <if condition="$data['is_best'] eq 1" >
      <td align="center"><img src="__PUBLIC__/Admin/images/yes.gif"  /></td>
    <elseif condition="$data['is_best'] eq 0" />
      <td align="center"><img src="__PUBLIC__/Admin/images/no.gif"  /></td>
    </if>
    <if condition="$data['is_new'] eq 1" >
      <td align="center"><img src="__PUBLIC__/Admin/images/yes.gif"  /></td>
    <elseif condition="$data['is_new'] eq 0"/>
      <td align="center"><img src="__PUBLIC__/Admin/images/no.gif"  /></td>
    </if>
    <if condition="$data['is_hot'] eq 1" >
      <td align="center"><img src="__PUBLIC__/Admin/images/yes.gif"  /></td>
    <elseif condition="$data['is_hot'] eq 0" />
      <td align="center"><img src="__PUBLIC__/Admin/images/no.gif"  /></td>
    </if>

    <td align="center"><span >{$data.click_count}</span></td>
        <td align="right"><span >{$data.goods_number}</span></td>
        <td align="center">
      <a href="#" target="_blank" title="查看"><img src="__PUBLIC__/Admin/images/icon_view.gif" width="16" height="16" border="0" /></a>
      <a href="{:U('Admin/Goods/goodsmod',array('goods_id'=>$data['goods_id']))}" title="编辑"><img src="__PUBLIC__/Admin/images/icon_edit.gif" width="16" height="16" border="0" /></a>
      <a href="#" title="复制"><img src="__PUBLIC__/Admin/images/icon_copy.gif" width="16" height="16" border="0" /></a>
      <a href="{:U('Admin/Goods/goodsdel',array('goods_id'=>$data['goods_id']))}"  title="回收站"><img src="__PUBLIC__/Admin/images/icon_trash.gif" width="16" height="16" border="0" /></a>
      <a href="#" title="货品列表"><img src="__PUBLIC__/Admin/images/icon_docs.gif" width="16" height="16" border="0" /></a>          </td>
  </tr>
  </foreach>
      </table>

<table id="page-table" cellspacing="0">
  <tr>
    <td align="right" nowrap="true">
      
          {$show}
          <!-- 上页&nbsp;&nbsp;1</b>&lt;&lt; [1]&nbsp;&nbsp;<a href=admin.php?c=goods&a=goodsList&page=2& title='第2页'>[2]</a>&nbsp;&nbsp;<a href=admin.php?c=goods&a=goodsList&page=3& title='第3页'>[3]</a>&nbsp;&nbsp;<a href=admin.php?c=goods&a=goodsList&page=4& title='第4页'>[4]</a>&nbsp;&nbsp;<a href=admin.php?c=goods&a=goodsList&page=5& title='第5页'>[5]</a>&nbsp;&nbsp;<a href=admin.php?c=goods&a=goodsList&page=8& title='第8页'>&gt;&gt;8</a>&nbsp;<a href=admin.php?c=goods&a=goodsList&page=2&  title='下一页'>[下一页]</a> -->
    
    </td>
  </tr>

</table>

</div>
</form>

<div id="footer">
共执行 7 个查询，用时 0.112141 秒，Gzip 已禁用，内存占用 3.085 MB<br />
版权所有 &copy; 2005-2010 上海商派网络科技有限公司，并保留所有权利。</div>
</body>
</html>